<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../common/head.jsp"%>
<div style="color:grey;padding:0.3rem 0.8rem">
    <span>${patient.patientname} ${patient.sex} ${patient.ageStr}岁(本人)</span>
</div>
<div style="border-top: #E9E9E9 solid 1px;width: 90%;margin:0 auto"></div>
<table width="100%" class="patient-basic">
    <tr>
        <td class="td_label">性别：</td>
        <td >${patient.sex}</td>
        <td class="td_label">年龄：</td>
        <td>${patient.ageStr}</td>
    </tr>
    <tr>
        <td class="td_label">身高：</td>
        <td >${patient.hight}cm</td>
        <td class="td_label">生日：</td>
        <td><fmt:formatDate value="${patient.birthday}" pattern="yyyy-MM-dd" /></td>
    </tr>
    <tr>
        <td class="td_label">体重：</td>
        <td >${patient.weight}kg</td>
        <td class="td_label">BMI：</td>
        <td>正常</td>
    </tr>
    <tr>
        <td class="td_label">常驻地：</td>
        <td colspan="3">${empty patient.remark?"未填写":patient.remark} </td>
    </tr>
    <tr>
        <td class="td_label">既往病史：</td>
        <td colspan="3">${empty patient.inquiryHistory?"未填写":patient.inquiryHistory}  </td>
    </tr>
    <tr>
        <td class="td_label">过敏病史：</td>
        <td colspan="3">${empty patient.inquiryAllergy?"未填写":patient.inquiryAllergy} </td>
    </tr>

    <tr>
        <td colspan="4" align="center" style="height: 2rem">
            <a href="javascript:;" style="color:darkred;" onclick="toBasicUpd()"><label style="font-size: 0.8rem;"><i class="fa fa-edit" aria-hidden="true"></i> 修改基本资料</label></a>
        </td>
    </tr>
</table>